package org.example.order.service;

import com.github.pagehelper.PageInfo;
import org.example.order.entity.Classification;
import org.example.order.exception.ClassificationNotFoundException;

public interface ClassificationService {
    PageInfo<Classification> getClassifications(int pageNum, int pageSize);
    Classification getClassificationById(Long id);
    void addClassification(Classification classification) throws ClassificationNotFoundException;
    void updateClassification(Classification classification) throws ClassificationNotFoundException;
    void deleteClassification(Long id);
}
